package com.example.administrator.tiyuapp.EventFragment;

import java.util.List;

/**
 * Created by Administrator on 2017/1/17.
 */
public class EventBean {


    /**
     * code : 200
     * data : {"contest_list":[{"contest_id":19683,"contest":{"contest_id":19683,"target_id":9955361,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":139,"home_scores":0,"away_team":177,"away_scores":0,"start_time":"Wed Jan 18 08:30:00 +0800 2017","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":139,"name":"热火","logo":"3435.png"},"a_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"settle_statu":0,"ext_flag":0,"room_id":6429,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19691,"contest":{"contest_id":19691,"target_id":9955489,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":166,"home_scores":0,"away_team":167,"away_scores":0,"start_time":"Wed Jan 18 11:30:00 +0800 2017","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":166,"name":"湖人","logo":"3427.png"},"a_t":{"t_id":167,"name":"掘金","logo":"3417.png"},"settle_statu":0,"ext_flag":0,"room_id":6433,"init_count":0},"contest_type":1,"select_flag":false}],"end_time":"Wed Jan 18 11:30:00 +0800 2017","start_time":"Wed Jan 18 08:30:00 +0800 2017","contest_ing_num":0}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * contest_list : [{"contest_id":19683,"contest":{"contest_id":19683,"target_id":9955361,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":139,"home_scores":0,"away_team":177,"away_scores":0,"start_time":"Wed Jan 18 08:30:00 +0800 2017","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":139,"name":"热火","logo":"3435.png"},"a_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"settle_statu":0,"ext_flag":0,"room_id":6429,"init_count":0},"contest_type":1,"select_flag":false},{"contest_id":19691,"contest":{"contest_id":19691,"target_id":9955489,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":166,"home_scores":0,"away_team":167,"away_scores":0,"start_time":"Wed Jan 18 11:30:00 +0800 2017","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":166,"name":"湖人","logo":"3427.png"},"a_t":{"t_id":167,"name":"掘金","logo":"3417.png"},"settle_statu":0,"ext_flag":0,"room_id":6433,"init_count":0},"contest_type":1,"select_flag":false}]
         * end_time : Wed Jan 18 11:30:00 +0800 2017
         * start_time : Wed Jan 18 08:30:00 +0800 2017
         * contest_ing_num : 0
         */

        private String end_time;
        private String start_time;
        private int contest_ing_num;
        private List<ContestListBean> contest_list;

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public int getContest_ing_num() {
            return contest_ing_num;
        }

        public void setContest_ing_num(int contest_ing_num) {
            this.contest_ing_num = contest_ing_num;
        }

        public List<ContestListBean> getContest_list() {
            return contest_list;
        }

        public void setContest_list(List<ContestListBean> contest_list) {
            this.contest_list = contest_list;
        }

        public static class ContestListBean {
            /**
             * contest_id : 19683
             * contest : {"contest_id":19683,"target_id":9955361,"cup_id":132,"cup_name":"NBA","color":"#230033","contest_type":1,"home_team":139,"home_scores":0,"away_team":177,"away_scores":0,"start_time":"Wed Jan 18 08:30:00 +0800 2017","status":0,"settle":0,"odds_type":27,"level":1,"bet_count":1,"lock_flag":false,"belong_five":true,"longbi":false,"h_t":{"t_id":139,"name":"热火","logo":"3435.png"},"a_t":{"t_id":177,"name":"火箭","logo":"3412.png"},"settle_statu":0,"ext_flag":0,"room_id":6429,"init_count":0}
             * contest_type : 1
             * select_flag : false
             */

            private int contest_id;
            private ContestBean contest;
            private int contest_type;
            private boolean select_flag;

            public int getContest_id() {
                return contest_id;
            }

            public void setContest_id(int contest_id) {
                this.contest_id = contest_id;
            }

            public ContestBean getContest() {
                return contest;
            }

            public void setContest(ContestBean contest) {
                this.contest = contest;
            }

            public int getContest_type() {
                return contest_type;
            }

            public void setContest_type(int contest_type) {
                this.contest_type = contest_type;
            }

            public boolean isSelect_flag() {
                return select_flag;
            }

            public void setSelect_flag(boolean select_flag) {
                this.select_flag = select_flag;
            }

            public static class ContestBean {
                /**
                 * contest_id : 19683
                 * target_id : 9955361
                 * cup_id : 132
                 * cup_name : NBA
                 * color : #230033
                 * contest_type : 1
                 * home_team : 139
                 * home_scores : 0
                 * away_team : 177
                 * away_scores : 0
                 * start_time : Wed Jan 18 08:30:00 +0800 2017
                 * status : 0
                 * settle : 0
                 * odds_type : 27
                 * level : 1
                 * bet_count : 1
                 * lock_flag : false
                 * belong_five : true
                 * longbi : false
                 * h_t : {"t_id":139,"name":"热火","logo":"3435.png"}
                 * a_t : {"t_id":177,"name":"火箭","logo":"3412.png"}
                 * settle_statu : 0
                 * ext_flag : 0
                 * room_id : 6429
                 * init_count : 0
                 */

                private int contest_id;
                private int target_id;
                private int cup_id;
                private String cup_name;
                private String color;
                private int contest_type;
                private int home_team;
                private int home_scores;
                private int away_team;
                private int away_scores;
                private String start_time;
                private int status;
                private int settle;
                private int odds_type;
                private int level;
                private int bet_count;
                private boolean lock_flag;
                private boolean belong_five;
                private boolean longbi;
                private HTBean h_t;
                private ATBean a_t;
                private int settle_statu;
                private int ext_flag;
                private int room_id;
                private int init_count;

                public int getContest_id() {
                    return contest_id;
                }

                public void setContest_id(int contest_id) {
                    this.contest_id = contest_id;
                }

                public int getTarget_id() {
                    return target_id;
                }

                public void setTarget_id(int target_id) {
                    this.target_id = target_id;
                }

                public int getCup_id() {
                    return cup_id;
                }

                public void setCup_id(int cup_id) {
                    this.cup_id = cup_id;
                }

                public String getCup_name() {
                    return cup_name;
                }

                public void setCup_name(String cup_name) {
                    this.cup_name = cup_name;
                }

                public String getColor() {
                    return color;
                }

                public void setColor(String color) {
                    this.color = color;
                }

                public int getContest_type() {
                    return contest_type;
                }

                public void setContest_type(int contest_type) {
                    this.contest_type = contest_type;
                }

                public int getHome_team() {
                    return home_team;
                }

                public void setHome_team(int home_team) {
                    this.home_team = home_team;
                }

                public int getHome_scores() {
                    return home_scores;
                }

                public void setHome_scores(int home_scores) {
                    this.home_scores = home_scores;
                }

                public int getAway_team() {
                    return away_team;
                }

                public void setAway_team(int away_team) {
                    this.away_team = away_team;
                }

                public int getAway_scores() {
                    return away_scores;
                }

                public void setAway_scores(int away_scores) {
                    this.away_scores = away_scores;
                }

                public String getStart_time() {
                    return start_time;
                }

                public void setStart_time(String start_time) {
                    this.start_time = start_time;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getSettle() {
                    return settle;
                }

                public void setSettle(int settle) {
                    this.settle = settle;
                }

                public int getOdds_type() {
                    return odds_type;
                }

                public void setOdds_type(int odds_type) {
                    this.odds_type = odds_type;
                }

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }

                public int getBet_count() {
                    return bet_count;
                }

                public void setBet_count(int bet_count) {
                    this.bet_count = bet_count;
                }

                public boolean isLock_flag() {
                    return lock_flag;
                }

                public void setLock_flag(boolean lock_flag) {
                    this.lock_flag = lock_flag;
                }

                public boolean isBelong_five() {
                    return belong_five;
                }

                public void setBelong_five(boolean belong_five) {
                    this.belong_five = belong_five;
                }

                public boolean isLongbi() {
                    return longbi;
                }

                public void setLongbi(boolean longbi) {
                    this.longbi = longbi;
                }

                public HTBean getH_t() {
                    return h_t;
                }

                public void setH_t(HTBean h_t) {
                    this.h_t = h_t;
                }

                public ATBean getA_t() {
                    return a_t;
                }

                public void setA_t(ATBean a_t) {
                    this.a_t = a_t;
                }

                public int getSettle_statu() {
                    return settle_statu;
                }

                public void setSettle_statu(int settle_statu) {
                    this.settle_statu = settle_statu;
                }

                public int getExt_flag() {
                    return ext_flag;
                }

                public void setExt_flag(int ext_flag) {
                    this.ext_flag = ext_flag;
                }

                public int getRoom_id() {
                    return room_id;
                }

                public void setRoom_id(int room_id) {
                    this.room_id = room_id;
                }

                public int getInit_count() {
                    return init_count;
                }

                public void setInit_count(int init_count) {
                    this.init_count = init_count;
                }

                public static class HTBean {
                    /**
                     * t_id : 139
                     * name : 热火
                     * logo : 3435.png
                     */

                    private int t_id;
                    private String name;
                    private String logo;

                    public int getT_id() {
                        return t_id;
                    }

                    public void setT_id(int t_id) {
                        this.t_id = t_id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getLogo() {
                        return logo;
                    }

                    public void setLogo(String logo) {
                        this.logo = logo;
                    }
                }

                public static class ATBean {
                    /**
                     * t_id : 177
                     * name : 火箭
                     * logo : 3412.png
                     */

                    private int t_id;
                    private String name;
                    private String logo;

                    public int getT_id() {
                        return t_id;
                    }

                    public void setT_id(int t_id) {
                        this.t_id = t_id;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getLogo() {
                        return logo;
                    }

                    public void setLogo(String logo) {
                        this.logo = logo;
                    }
                }
            }
        }
    }
}
